{layout name="layout" /}
<form id="form" action="{url('plus_exam/school/add')}" method="post">
<table class="formtable">
    <tr>
        <th>选择题库:</th>
        <td>
            <select class="select" name="category_id" datatype="s">
                {volist name="category_list" id="rs"}
                <option value="{$rs.id}">{$rs.name}</option>
                {/volist}
            </select>
        </td>
    </tr>
    <tr>
        <th>考场名称:</th>
        <td>
           <input class="input w300" datatype="*" type="text" name="name" value=""/>
        </td>
    </tr>
    <tr>
        <th>考试时间:</th>
        <td>
           <input class="input w150 ui-time" datatype="date" type="text" name="start_time" value=""/>
            - 
           <input class="input w150 ui-time" datatype="date" type="text" name="end_time" value=""/>
        </td>
    </tr>
    <tr>
        <th>允许考试:</th>
        <td>
           <input class="input w60" datatype="n" type="text" name="is_repeat" value=""/> 次
        </td>
    </tr>
    <tr>
        <th>考试时限:</th>
        <td>
           <input class="input w60" datatype="n" type="text" name="lock_time" value=""/> 分
        </td>
    </tr>
    <tr>
        <th>交卷限时:</th>
        <td>
           <input class="input w60" datatype="n" type="text" name="start_lock_time" value=""/> 分钟内禁止交卷
        </td>
    </tr>
    <tr>
        <th>题目数量:</th>
        <td>
           <input class="input w60" datatype="n" type="text" name="question_number" value=""/> 道题
        </td>
    </tr>
    <tr>
        <th>每题分数:</th>
        <td>
           <input class="input w60" datatype="n" type="text" name="one_point" value=""/> 分
        </td>
    </tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="{$Think.lang.lang_ui_save}" class="button button-blue submit" />
            <input type="reset" value="{$Think.lang.lang_ui_reset}" class="button button-blank"/>
        </td>
    </tr>
</table>
</form>
<script type="text/javascript">
Do('base','layer','form','date',function(){
    $('#form').isForm();
});
</script>